package com.heg.bk.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * HegSms entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "heg_sms", catalog = "heg")
public class HegSms implements java.io.Serializable {

	// Fields

	private Integer smsId;
	private Integer sendUid;
	private String sendTelnumber;
	private Integer receiveUid;
	private String receiveTelnumber;
	private Integer smsType;
	private Integer smsState;
	private String content;
	private String ctime;
	private String sendReturncode;
	private String sendReturnmsg;
	private Integer triggerType;
	private String sendReturntime;
	private String description;

	// Constructors

	/** default constructor */
	public HegSms() {
	}

	/** full constructor */
	public HegSms(Integer sendUid, String sendTelnumber, Integer receiveUid,
			String receiveTelnumber, Integer smsType, Integer smsState,
			String content, String ctime, String sendReturncode,
			String sendReturnmsg, Integer triggerType, String sendReturntime,
			String description) {
		this.sendUid = sendUid;
		this.sendTelnumber = sendTelnumber;
		this.receiveUid = receiveUid;
		this.receiveTelnumber = receiveTelnumber;
		this.smsType = smsType;
		this.smsState = smsState;
		this.content = content;
		this.ctime = ctime;
		this.sendReturncode = sendReturncode;
		this.sendReturnmsg = sendReturnmsg;
		this.triggerType = triggerType;
		this.sendReturntime = sendReturntime;
		this.description = description;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "sms_id", unique = true, nullable = false)
	public Integer getSmsId() {
		return this.smsId;
	}

	public void setSmsId(Integer smsId) {
		this.smsId = smsId;
	}

	@Column(name = "send_uid")
	public Integer getSendUid() {
		return this.sendUid;
	}

	public void setSendUid(Integer sendUid) {
		this.sendUid = sendUid;
	}

	@Column(name = "send_telnumber", length = 20)
	public String getSendTelnumber() {
		return this.sendTelnumber;
	}

	public void setSendTelnumber(String sendTelnumber) {
		this.sendTelnumber = sendTelnumber;
	}

	@Column(name = "receive_uid")
	public Integer getReceiveUid() {
		return this.receiveUid;
	}

	public void setReceiveUid(Integer receiveUid) {
		this.receiveUid = receiveUid;
	}

	@Column(name = "receive_telnumber", length = 20)
	public String getReceiveTelnumber() {
		return this.receiveTelnumber;
	}

	public void setReceiveTelnumber(String receiveTelnumber) {
		this.receiveTelnumber = receiveTelnumber;
	}

	@Column(name = "sms_type")
	public Integer getSmsType() {
		return this.smsType;
	}

	public void setSmsType(Integer smsType) {
		this.smsType = smsType;
	}

	@Column(name = "sms_state")
	public Integer getSmsState() {
		return this.smsState;
	}

	public void setSmsState(Integer smsState) {
		this.smsState = smsState;
	}

	@Column(name = "content")
	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name = "ctime", length = 20)
	public String getCtime() {
		return this.ctime;
	}

	public void setCtime(String ctime) {
		this.ctime = ctime;
	}

	@Column(name = "send_returncode", length = 100)
	public String getSendReturncode() {
		return this.sendReturncode;
	}

	public void setSendReturncode(String sendReturncode) {
		this.sendReturncode = sendReturncode;
	}

	@Column(name = "send_returnmsg")
	public String getSendReturnmsg() {
		return this.sendReturnmsg;
	}

	public void setSendReturnmsg(String sendReturnmsg) {
		this.sendReturnmsg = sendReturnmsg;
	}

	@Column(name = "trigger_type")
	public Integer getTriggerType() {
		return this.triggerType;
	}

	public void setTriggerType(Integer triggerType) {
		this.triggerType = triggerType;
	}

	@Column(name = "send_returntime", length = 20)
	public String getSendReturntime() {
		return this.sendReturntime;
	}

	public void setSendReturntime(String sendReturntime) {
		this.sendReturntime = sendReturntime;
	}

	@Column(name = "description", length = 100)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}